package com.eastedu.superise.handler.question.callback.handler;

import lombok.Data;

import java.util.Map;

/**
 * 内容 回滚信息
 *
 * @author luozhenzhong
 */
@Data
public class ContentRollback {

    /**
     * 计数器，用于记录括号数量（一道试题的题干）
     */
    private final Boolean needCallback;
    private final Map<Integer, Map<Integer, String>> formulaMap;

    /**
     * 暂时用来处理无序号时，记录答案的段落数量
     */
    @Deprecated
    private int paragraphCount;

    /**
     * Instantiates a new Profile.
     *
     * @param formulaMap   the formula map
     * @param needCallback the need callback
     */
    public ContentRollback(Map<Integer, Map<Integer, String>> formulaMap, Boolean needCallback) {
        this.formulaMap = formulaMap;
        this.needCallback = needCallback;
    }


}
